<script lang="ts" setup>
defineProps<{
  value?: string,
}>()
</script>

<template>
  <div class="badge-container">
    <el-badge class="badge" :value="value" />
    <slot />
  </div>
</template>

<style lang="scss" scoped>
.badge-container {
  position: relative;
}

.badge {
  position: absolute;
}
</style>
